package com.ruoyi.follow.domain.vo;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.time.LocalDate;

/**
 * 用户关注对象 user_follow
 *
 * @author chen
 * @date 2025-07-04
 */
@Schema(description = "用户关注对象")
public class UserFollowVO extends BaseEntity {
    private static final long serialVersionUID = 1L;


    /**
     * 自增ID
     */
    @Schema(title = "自增ID")
    @Excel(name = "自增ID")
    private Long id;

    /**
     * 被关注用户ID
     */
    @Schema(title = "被关注用户ID")
    @Excel(name = "被关注用户ID")
    private Long followedUserId;

    @Schema(title = "被关注用户名称")
    @Excel(name = "被关注用户名称")
    private String followedUserName;

    @Schema(title = "被关注用户头像")
    @Excel(name = "被关注用户头像")
    private String followedUserAvatar;

    /**
     * 粉丝ID
     */
    @Schema(title = "粉丝ID")
    @Excel(name = "粉丝ID")
    private Long fansId;

    @Schema(title = "粉丝名称")
    @Excel(name = "粉丝名称")
    private String fansName;

    @Schema(title = "粉丝头像")
    @Excel(name = "粉丝头像")
    private String fansAvatar;

    /**
     * 关注时间
     */
    @Schema(title = "关注时间")
    @Excel(name = "关注时间")
    private LocalDate followTime;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }


    public void setFollowedUserId(Long followedUserId) {
        this.followedUserId = followedUserId;
    }

    public Long getFollowedUserId() {
        return followedUserId;
    }

    public String getFollowedUserName() {
        return followedUserName;
    }

    public void setFollowedUserName(String followedUserName) {
        this.followedUserName = followedUserName;
    }

    public String getFollowedUserAvatar() {
        return followedUserAvatar;
    }

    public void setFollowedUserAvatar(String followedUserAvatar) {
        this.followedUserAvatar = followedUserAvatar;
    }

    public void setFansId(Long fansId) {
        this.fansId = fansId;
    }

    public String getFansName() {
        return fansName;
    }

    public void setFansName(String fansName) {
        this.fansName = fansName;
    }

    public Long getFansId() {
        return fansId;
    }

    public String getFansAvatar() {
        return fansAvatar;
    }

    public void setFansAvatar(String fansAvatar) {
        this.fansAvatar = fansAvatar;
    }


    public void setFollowTime(LocalDate followTime) {
        this.followTime = followTime;
    }

    public LocalDate getFollowTime() {
        return followTime;
    }

    @Override
    public String toString() {
        return "UserFollowVO{" +
                "id=" + id +
                ", followedUserId=" + followedUserId +
                ", followedUserName='" + followedUserName + '\'' +
                ", followedUserAvatar='" + followedUserAvatar + '\'' +
                ", fansId=" + fansId +
                ", fansName='" + fansName + '\'' +
                ", fansAvatar='" + fansAvatar + '\'' +
                ", followTime=" + followTime +
                '}';
    }
}
